<?php
//Check if logged in
if (@$_SESSION['auth'] == "yes") 
{
//display html page
require 'wow.html';

echo $_SESSION['mailResponse'];//this variable does not seem to get set.
echo "<p class='account'>";	
echo "Logged in as " . $_SESSION['login'] . "<br/>";
echo "<a class='reg' href='account.php'>Account</a><br/>";
echo "<a class='reg' href='preferences.php'>Preferences</a><br/>";
echo "<a class='reg' href='logout.php'>Logout</a>";
echo "<br/>";
echo "</p>";
}
else
{
header('Location: index.php');
exit(); 
}


?>